<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ProjectMadaktariMVC.Models.Patient>" %>

    <div class="patientInformation">      
        
        <span class="editLink"><%= Html.ActionLink("Edit Information", "Edit", new {id = Model.patientID}) %></span>
        <span class="patientName"><%= Model.fName + " " + Model.lName %></span><br />
        <div class="block1">
            <%= Model.gender %><br />
            DOB: <%= (Model.dateOfBirth == null ? "--" : ((DateTime)Model.dateOfBirth).ToString("MMM dd, yyyy")) %><br />
            Record Number: <%= Model.recordNumber %>
        </div>
        
        <div class="block2">
            Cell Phone: <%= Model.cellNumber %><br />
            Tribes: <%= Model.tribe1 == null ? "--" : Model.tribe1 + ", " + Model.tribe2 %>
        </div>
    
    </div>
    
    


